/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 *
 * @author: Pegasus  Date: 2018-11-28 Time: 00:53
 *
 * 网评列表，评分较低的List
 */

import React, {Component} from 'react';
import {
  View,
  FlatList
} from "react-native";
import {styles} from '../ReviewListView/ReviewListView.Style';
import DividingLineViewComponent from "../../../../../component/DividingLineViewComponent/DividingLineViewComponent"
import ReviewListItemView from "../ReviewListView/ReviewListItemView"

let data = [0, 1]
export default class LowerScoreListView extends Component {

  render() {
    return (
      <View style={styles.body}>

        <FlatList
          data={data}
          renderItem={this._renderItem.bind(this)}
          keyExtractor={(item, index) => index}
          ItemSeparatorComponent={this._renderItemSeparatorComponent}
        />

      </View>
    )
  }

  _renderItem() {
    return (
      <ReviewListItemView/>
    )
  }

  _renderItemSeparatorComponent() {
    return (
      <DividingLineViewComponent lineHeight={2}/>
    )
  }
}